﻿using System;

namespace Devonline.Core
{
    /// <summary>
    /// Url 地址描述
    /// </summary>
    [AttributeUsage(AttributeTargets.All, Inherited = true)]
    public sealed class UrlAttribute : Attribute
    {
        /// <summary>
        /// url address
        /// </summary>
        /// <param name="url"></param>
        public UrlAttribute(string url)
        {
            Url = url;
        }

        /// <summary>
        /// url address
        /// </summary>
        public string Url { get; set; }
    }
}
